game.import("extension",function(lib,game,ui,get,ai,_status){return {name:"机械飞升",content:function(config,pack){
    
},precontent:function(){
    
},help:{},config:{},package:{
    character:{
        character:{
            "原型机-甲子":["male","qun","2/2/2",["铁躯","钢拳","动力核心"],["forbidai","des:一个原型机"]],
        },
        translate:{
            "原型机-甲子":"原型机-甲子",
        },
    },
    card:{
        card:{
        },
        translate:{
        },
        list:[],
    },
    skill:{
        skill:{
            "磁扰":{
                "_priority":0,
            },
            "铁躯":{
                audio:"ext:机械飞升:2",
                trigger:{
                    player:["damageBegin4"],
                },
                forced:true,
                filter:function(event,player,name){
        return event.num>0&&!event.hasNature("thunder");
    },
                content:function(){
        trigger.num--;
    },
                "_priority":0,
            },
            "自毁":{
                "_priority":0,
            },
            "钢拳":{
                trigger:{
                    source:["damageBegin1"],
                },
                forced:true,
                filter:function(event,player) {
        return event.card&&event.card.name=="sha"&&!event.card.nature
    },
                content:function() {
    trigger.num++
    },
                "_priority":0,
            },
            "动力核心":{
                trigger:{
                    player:["phaseZhunbeiBegin"],
                },
                forced:true,
                filter:function(event,player) {
        return player.hasSkill("动力核心");
    },
                mod:{
                    maxHandcard:function(player, num) {
            return 3 + player.countMark("源");
        },
                },
                content:function(player) {
        var num = player.countMark("源");
        player.draw();
        if(num > player.maxHp) {
            player.addMark("源", 1, true);
        }
        if(!player.storage.动力核心){
            player.storage.动力核心 = 0;
        }
        player.storage.动力核心 = num;
    },
                mark:true,
                marktext:"源",
                intro:{
                    content:"手牌上限+#",
                },
            },
            "燃料":{
                "_priority":0,
            },
        },
        translate:{
            "磁扰":"磁扰",
            "磁扰_info":"锁定技，受到的雷属性伤害改为流失体力。",
            "铁躯":"铁躯",
            "铁躯_info":"锁定技，受到的非雷伤害-1",
            "自毁":"自毁",
            "自毁_info":"未完成，碎掉所有护甲X，且流失所有体力。距离2以内的武将受到伤害X+1点。",
            "钢拳":"钢拳",
            "钢拳_info":"锁定技，你使用的普通杀造成的伤害+1",
            "动力核心":"动力核心",
            "动力核心_info":"锁定技，手牌上限+1；准备阶段开始时，摸一张牌，增加一个“源”标志。",
            "燃料":"燃料",
            "燃料_info":"锁定技,你的出牌阶段弃置的牌都将增加“源”标记.",
        },
    },
    intro:"",
    author:"自己开挂玩",
    diskURL:"",
    forumURL:"",
    version:"1.0",
},files:{"character":["原型机-甲子.jpg"],"card":[],"skill":[],"audio":[]}}})